Tables

<TABLE>
<TR>
<TD></TD>

</TR>
</TABLE>



What does a table do?

Glad you asked!


A table looks like this:

Something Here! And something here!
Let's not Forget about here


A table gives you the ability to put things next to each other, if you experimented with the basics you'll know what I mean, that you can't do otherwise. What a sentence. Sorry about that, this is supposed to be simple!

So, how did I make that table above? Easy!
Here's the code:

<TABLE BORDER=3>
<TR>
<TD>Something Here!</TD>
<TD>And something here!</TD>
</TR>
<TR>
<TD>Let's not</TD>
<TD>Forget about here</TD>
</TR>
</TABLE>

Let's do a breakdown. The <TABLE BORDER=3> tells the browser that there is a border. You can also do a table with BORDER=0. Obviously with this, there will be no border around your table. It would look like this:

Something Here! And something here!
Let's not Forget about here


There are two <TR>s so there are two rows to this table.

There are four <TD>s which says there are a total of four "cells" to this table.

These are all "container" tags. They have a "beginning" and an "end" tag. When you use these make sure to put an "end" tag to them, if you don't, your table will look slightly different than what you pictured.


Tutorials Lesson 1 Lesson 3 Lesson 4 Lesson 5